.f-discussion-editor {
    display: block;
}

.f-discussion-group-edit {
    border: 1px solid #DCDCDC;
    background: #fff;

    .f-discussion-group-edit-container {
        width: 100%;
        position: relative;

        .textarea-editor {
            width: 100%;
            height: 100%;
            padding: 8px;
            margin: 0 auto;
            outline: none;
            overflow-y: auto;
            word-break: break-all;
            white-space: normal;
            resize: none;

            a {
                color: #3487E3;
            }
        }
    }

    .f-discussion-group-edit-footer {
        display: flex;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 10px 14px;
        background: #F7F7F7;

        .f-discussion-group-edit-toolbar {
            display: flex;
            align-items: center;
            flex-wrap: wrap;

            .f-discussion-group-edit-toolbar-item {
                cursor: pointer;
                color: rgba(0, 0, 0, 0.65);

                .toolbar-item-text {
                    display: flex;
                    align-items: center;
                    line-height: 22px;
                }

                .toolbar-text {
                    margin-left: 2px;
                    font-size: 14px;
                }

                .toolbar-icon {
                    color: #667580;
                    font-size: 16px;
                }
            }

            .f-discussion-group-edit-toolbar-file {
                margin-right: 12px;
            }

            .f-discussion-group-edit-toolbar-about {
                position: relative;
                margin-right: 32px;

                .f-discussion-group-about-dropdown {
                    position: absolute;
                    top: calc(100% + 6px);
                    left: 0px;
                    width: 300px;
                    padding-top: 16px;
                    z-index: 999;
                    background: #fff;
                    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15);
                    border-radius: 2px;

                    .f-discussion-group-about-dropdown-list {
                        max-height: 282px;
                        margin-top: 10px;
                        overflow-y: auto;

                        &::-webkit-scrollbar {
                            width: 7px;
                            height: 7px;
                            background-color: #8e8e8e;
                        }

                        &::-webkit-scrollbar-track {
                            border-radius: 0;
                            background-color: #fff;
                            border: 0;
                            background-clip: padding-box;
                            border-right: 0;
                        }

                        &::-webkit-scrollbar-thumb {
                            border-radius: 0;
                            background-color: #dbdbdb;
                            border: 0;
                            background-clip: content-box;
                            opacity: .6;
                            transform: rotate(90deg);
                            border-radius: 3px;
                        }

                        &-item {
                            padding: 3px 14px;
                            list-style: none;
                            align-items: center;

                            .f-discussion-group-about-dropdown-list-detail {
                                margin-left: 6px;

                                .about-list-detail-text {
                                    line-height: 20px;
                                    font-size: 12px;
                                    color: #0A131A;
                                    margin: 0 auto;
                                    overflow: hidden;
                                    text-overflow: ellipsis;
                                    white-space: nowrap;
                                }

                                .about-list-detail-subtext {
                                    font-size: 12px;
                                    color: #8F9CA6;
                                    line-height: 20px;
                                }
                            }

                            .f-icon-check {
                                border: 1px solid #d8d9d9;
                                color: #fff;
                                font-size: 15px;
                                border-radius: 2px;

                                &::before {
                                    content: '';
                                }
                            }

                            &.active .f-icon-check {
                                border: none;
                                background: #4c91ff;

                                &::before {
                                    content: '\e118';
                                }
                            }

                            .about-list-item-avatar {
                                display: block;
                                width: 30px;
                                height: 30px;
                                margin-left: 6px;
                                border-radius: 50%;
                                overflow: hidden;
                            }

                            .about-list-item-avatar-tip {
                                width: 32px;
                                height: 32px;
                                margin-left: 6px;
                                font-size: 12px;
                                color: #fff;
                                text-align: center;
                                line-height: 32px;
                                border-radius: 50%;
                                background-color: #4796FF;
                            }

                            &:hover {
                                background: #E6F7FF;
                            }

                            &.about-dropdown-list-item-empty {
                                cursor: default;

                                &:hover {
                                    background: #fff;
                                }
                            }
                        }
                    }

                    .f-discussion-group-about-search {
                        padding: 0 14px;
                    }

                    .f-about-list-btns {
                        justify-content: space-between;
                        background: #faf9f9;
                        border-top: 1px solid #efefef;
                        padding: 10px 15px;

                        .btn {
                            margin-right: 10px;

                            &:last-child {
                                margin-right: 0;
                            }
                        }
                    }
                }
            }

            .f-discussion-group-edit-toolbar-dropdown {
                position: relative;

                .toolbar-dropdown-text {
                    cursor: pointer;
                }

                .toolbar-icon {
                    color: rgba(0, 0, 0, 0.25);
                }

                .toolbar-text {
                    margin-left: 0;
                }

                .toolbar-dropdown-list {
                    position: absolute;
                    left: 0;
                    top: calc(100% + 6px);
                    z-index: 999;
                    padding: 2px 0;
                    background: #fff;
                    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15);
                    border-radius: 2px;

                    ul {
                        max-width: 220px;
                        overflow-y: auto;

                        li {
                            font: 14px/28px Microsoft yahei;
                            padding: 0 15px 0 10px;
                            word-break: keep-all;

                            &:hover {
                                background: #e6f7ff;
                            }
                        }
                    }
                }
            }
        }

        .f-discussion-group-edit-btns {
            flex-shrink: 0;

            .f-discussion-cancel {
                margin-right: 12px;
                font-size: 14px;
                color: rgba(0, 0, 0, 0.75);
            }
        }
    }

    .f-discussion-group-edit-files {
        padding: 10px 14px 0;

        .ffilepreview--filetype-icon {
            width: 32px;
            height: 32px;
        }
    }
}

.farris-discussion-group-reply-tip {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.75);
}

.f-discussion-group-file-upload {
    margin-top: 10px;
}


//弹窗部分样式
.f-discussion-dialog-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 100%;
    padding: 14px;
    overflow: hidden;

    &-left {
        display: flex;
        flex-direction: column;
        width: 600px;
        height: 100%;
        padding: 0;

        .f-discussion-personnel-search {
            flex-shrink: 0;
            position: relative;
            margin-bottom: 7px;
        }

        .f-discussion-tab-content {
            border: 1px solid #dcdcdc;
            border-radius: 2px;
            padding: 12px 0 7px;

            .f-discussion-personnel-content {
                .f-discussion-personnel-crumbs {
                    flex-shrink: 0;
                    position: relative;
                    width: 100%;
                    height: 32px;
                    padding: 0 12px;
                    overflow: hidden;

                    .crumbs-list {
                        width: 100%;
                        overflow: hidden;
                    }

                    .crumbs-list-item {
                        display: flex;
                        flex-wrap: nowrap;
                        flex-shrink: 0;
                        align-items: center;
                        line-height: 20px;
                        font-size: 14px;
                        color: rgba(0, 0, 0, 0.85);
                        cursor: pointer;

                        .crumbs-text {
                            padding: 0 2px;
                            //bugNum2：449399
                            text-overflow: ellipsis;
                            max-width: 80px;
                            max-height: 20px;
                            white-space: nowrap;
                            overflow: hidden;
                        }

                        &:first-child {
                            .crumbs-text {
                                padding-left: 0;
                            }
                        }

                        &.crumbs-list-item-disabled {
                            color: rgba(0, 0, 0, 0.55);
                        }
                    }

                    .crumbs-list-ellipsis {
                        align-items: center;
                        position: absolute;
                        left: 12px;
                        top: 0;
                        width: 30px;
                        height: 32px;
                        line-height: 32px;
                    }

                    .crumbs-list-padding {
                        padding-left: 30px;
                    }
                }

                &.f-discussion-personnel-content-hide {
                    display: none !important;
                }
            }
        }
    }

    &-right {
        height: 100%;
        margin-left: 14px;
        padding: 0;
        border: 1px solid #dcdcdc;
        border-radius: 2px;

        .f-discussion-selected-personnel {
            &-header {
                display: flex;
                align-items: center;
                justify-content: space-between;
                height: 36px;
                padding: 0 14px;
                background: #fafafa;

                &-text {
                    font-size: 14px;
                    line-height: 20px;
                }
            }

            &-content {
                // padding: 18px 14px;
                // overflow: auto;
                padding: 8px 0;

                .f-discussion-selected-list {
                    .f-discussion-selected-item {
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        padding: 6px 12px;

                        &-text {
                            line-height: 20px;

                            .f-discussion-selected-name {
                                font-size: 14px;
                                color: rgba(0, 0, 0, 0.85);
                            }
                        }

                        &-tip {
                            font-size: 12px;
                            color: rgba(0, 0, 0, 0.35);
                            line-height: 20px;
                        }

                        &-remove {
                            visibility: hidden;
                            color: #388FFF;
                            cursor: pointer;
                        }

                        &:hover {
                            background: #F3FBFF;

                            .f-discussion-selected-item-remove {
                                visibility: visible;
                            }
                        }
                    }
                }
            }
        }
    }

    .f-discussion-selected-item-remove {
        visibility: hidden;
    }

    .f-discussion-personnel-item {
        display: flex;
        align-items: center;
        padding: 3px 14px 3px 3px;
        cursor: pointer;

        &-avatar {
            flex-shrink: 0;
            width: 36px;
            height: 36px;
            margin-right: 5px;
            border-radius: 50%;
            overflow: hidden;

            img {
                display: block;
                width: 100%;
            }

        }

        &-text {
            flex-shrink: 1;
            flex-grow: 1;
            flex-basis: 0;
            padding-right: 10px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;

            .f-discussion-personnel-name {
                line-height: 20px;
                font-size: 12px;
                color: #0A131A;
            }

            .f-discussion-personnel-mail {
                line-height: 20px;
                font-size: 12px;
                color: #8F9CA6;
            }
        }

        &-remove {
            display: none;
        }

        &:hover {
            background: #F3FBFF;

            .f-discussion-personnel-item-remove {
                display: block;
            }
        }

        &.active {
            background: #DEF1FF;
        }

        &.selected {
            background: #fff;
            cursor: not-allowed;

            .f-discussion-personnel-name,
            .f-discussion-personnel-mail {
                color: #c1c1c1;
            }
        }
    }

    .f-discussion-personnel-empty {
        padding: 3px 14px;
        list-style: none;
        -webkit-box-align: center;
        align-items: center;
    }

    .f-discussion-section-list-empty {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;

        .f-icon {
            margin-bottom: 8px;
            font-size: 26px;
            color: #E2E6F0;
        }

        .section-list-empty-text {
            font-size: 13px;
            color: rgba(0, 0, 0, 0.25);
        }
    }

    .f-discussion-personnel-item-tip {
        width: 36px;
        height: 36px;
        font-size: 12px;
        color: #fff;
        text-align: center;
        line-height: 32px;
        border-radius: 50%;
        background-color: #4796FF;
    }

    .f-discussion-section-list {
        .section-list-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 32px;
            padding: 0 12px;
            cursor: pointer;

            &-name {
                font-size: 14px;
                color: rgba(0, 0, 0, 0.85);
                line-height: 32px;
            }

            &-next {
                flex-shrink: 0;
                position: relative;
                padding-left: 20px;
                padding-right: 10px;
                line-height: 20px;
                font-size: 12px;
                color: #388FFF;
                cursor: pointer;

                &::before {
                    position: absolute;
                    left: 0;
                    top: 50%;
                    width: 1px;
                    height: 12px;
                    margin-top: -6px;
                    background: #d9d9d9;
                    content: '';
                }
            }

            &:hover {
                background: #F3F8FF;
            }

            .section-list-item-checkbox.custom-control.custom-checkbox {
                margin-right: 0;
                padding: 0;
                margin-bottom: 0;
            }
        }

        .person-list-item {
            height: auto;
            padding-top: 7px;
            padding-bottom: 6px;

            &-img {
                flex-shrink: 0;
                width: 36px;
                height: 36px;
                border-radius: 50%;
                overflow: hidden;

                img {
                    display: block;
                    width: 100%;
                    height: 100%;
                }
            }

            &-content {
                padding-left: 6px;

                .section-list-item-name {
                    font-size: 14px;
                    color: rgba(0, 0, 0, 0.85);
                    line-height: 20px;
                }

                .section-list-item-tip {
                    font-size: 12px;
                    color: rgba(0, 0, 0, 0.35);
                    line-height: 20px;
                }
            }
        }
    }
}

.f-discussion-person-list-page {
    padding: 10px 0;
    text-align: center;
    cursor: pointer;

    .section-page-text {
        font-size: 14px;
        color: rgba(0, 0, 0, 0.55);
    }

    &:hover {
        .section-page-text {
            color: rgba(0, 0, 0, 0.85);
        }
    }
}